AcquireCurrentMenuBar
Document Shell
Mac OSThe
AcquireCurrentMenuBar
method returns a reference to the current menu bar object.
ODMenuBar AcquireCurrentMenuBar ();
- return value
- A reference to the current menu bar object.
DISCUSSION
The document shell calls this method. Your part typically calls this window-state object'sCopyBaseMenuBar
method instead of this method.This method increments the reference count of the returned menu bar. When the caller has finished using that menu bar, it should call the menu bar's
Release
method.SEE ALSO
TheODWindowState::CopyBaseMenuBar
method (page 855).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help